from langchain_core.messages import HumanMessage
from langchain_openai import ChatOpenAI


def get_ds_llm():
    llm = ChatOpenAI(
        base_url="http://menshen.test.xdf.cn/v1/",
        api_key="c8575027653b42b1b47747f0b4ab135b",
        model="deepseek-v3")
    return llm


# llm = get_ds_llm()
# response = llm.invoke([HumanMessage(content="人为什么非要繁衍后代，不繁衍不行么?")])
#
# print(response.content)
# print("---\n")
